package com.mlnx.ecg.ui.analysis.filter;

/**
 * Created by amanda.shan on 2018/3/23.
 */
public class FilterManager {


    /**
     * 运动滤波
     *
     * @return
     */
    public static EcgFilter getSportEcgFilter() {
        return new EcgFilter(ECG_HIGHPASS_FILTER.ECG_HIGHPASS_FILTER_05HZ, ECG_LOWPASS_FILTER
                .ECG_LOWPASS_FILTER_25HZ, ECG_STOP_FILTER.ECG_STOP_FILTER_50);
    }

    /**
     * 标准滤波
     *
     * @return
     */
    public static EcgFilter getStandardEcgFilter() {
        return new EcgFilter(ECG_HIGHPASS_FILTER.ECG_HIGHPASS_FILTER_005HZ, ECG_LOWPASS_FILTER
                .ECG_LOWPASS_FILTER_150HZ, ECG_STOP_FILTER.ECG_STOP_FILTER_50);
    }

    /**
     * 诊断滤波
     *
     * @return
     */
    public static EcgFilter getDiagnosisEcgFilter() {
        return new EcgFilter(ECG_HIGHPASS_FILTER.ECG_HIGHPASS_FILTER_002HZ, ECG_LOWPASS_FILTER
                .ECG_LOWPASS_FILTER_150HZ, ECG_STOP_FILTER.ECG_STOP_FILTER_50);
    }
}
